package com.zb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zb.entity.Category;
import com.zb.entity.PageData;

public interface CategoryService extends IService<Category> {
    Integer addCategorys(Category category);

    //分页查询菜品分类
    PageData pageSelectCategory(Integer page, Integer pageSize);


    Category getCategoryById(Long id);

    Integer updateCategory(Category category);
}
